package cn.com.sinosoft.ares.insurance.service.constant;

import cn.com.sinosoft.ares.common.result.ResultCode;

/**
 * Description: 自定义异常
 * Author: lishangmin
 * Created: 2018-09-06 15:48
 */
public class InsuranceError extends ResultCode {

    public static InsuranceError PRODUCT_NOT_EXIST_ERROR = new InsuranceError("0003","该代理没有该产品");

    public static InsuranceError CHANNEL_ERROR = new InsuranceError("0004","请传送正确的渠道代码");

    public static InsuranceError PREMIUM_INCORRECT_ERROR = new InsuranceError("0005","保费不正确");

    public static InsuranceError CONFIG_NOT_EXIST_ERROR = new InsuranceError("0006","配置不存在");

    public static InsuranceError Repetition_ERROR = new InsuranceError("0007","重复投保异常");

    public InsuranceError(String status, String msg) {
        super(status, msg);
    }
}
